﻿<%@ Page Language="C#" MasterPageFile="~/Main_MasterPage.master" AutoEventWireup="true"
    CodeFile="login.aspx.cs" Inherits="login" Title="大众防骗" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <link href="css/dl.css" rel="stylesheet"/>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <!--介绍&登录-->
    <div class="container w-content">
        <div class="row" style="margin-bottom: 0px">
            <!--介绍-->
            <div class="col-lg-5 col-md-5 col-sm-5 col-xs-6 w-js">
                <p>Defend是互联网不良信息举报和搜索平台。</p>
                <p>本网站以及手机APP今天共计收到1335312条举报。</p>
                <p>对于恶意信息，比如诈骗电话、垃圾邮件等，您可以在本站或者我们的手机APP上进行举报。</p>
                <p>当您遇到可疑信息时，可以在本站进行查询电话号码、QQ号等是否为诈骗，等等。</p>
                <p>在本站上传举报信息请务必保证您提交的信息的真实性。</p>
                <p>现已推出手机APP，欢迎广大用户下载。</p>
                <div class="pic1">
                    <a href="#">
                        <img src="image/Apple-logo.png">
                        <p>iPhone版</p>
                    </a>
                &nbsp;</div>
                <div class="pic2">
                    <a href="#">
                        <img src="image/Android_logo.png">
                        <p>Android版</p>
                    </a>
                &nbsp;</div>
            </div>
            <!--介绍end-->
            <!--登录注册-->
            <div class="col-lg-4 col-lg-offset-2 col-md-4 col-md-offset-1 col-sm-4 col-xs-6">
                <asp:LoginView ID="LoginView1" runat="server">
                    <RoleGroups>
                        <asp:RoleGroup Roles="administrator">
                            <ContentTemplate>
                                <div style="padding: 20px;width: 50%;font-size: 16px;color: #fff;font-style: inherit;margin-top:90px">
                                    欢迎您：<asp:LoginName ID="LoginName1" runat="server" />
                                    ，您已经成功登录，请选择操作：
                                </div>
                                <div style="width: 50%; font-size: 16px">
                                    <asp:LoginStatus ID="LoginStatus1" BackColor="#ffffff" runat="server" />
                                    <br>
                                    <br>
                                    <asp:HyperLink ID="HyperLink1" BackColor="#ffffff" runat="server" NavigateUrl="./admin/default.aspx">进入管理后台</asp:HyperLink>
                                    <br>
                                    <br>
                                    <asp:HyperLink ID="HyperLink2" BackColor="#ffffff" runat="server" NavigateUrl="/">返回主页</asp:HyperLink>
                                </div>
                            </ContentTemplate>
                        </asp:RoleGroup>
                    </RoleGroups>
                    <LoggedInTemplate>
                        <div style="padding: 20px; width: 50%; font-size: 16px; color: #ffffff; font-style: inherit;">
                            欢迎您：<asp:LoginName ID="LoginName1" runat="server" />
                            ，您已经成功登录，请选择操作：
                        </div>
                        <div style="width: 50%; font-size: 16px;">
                            <asp:LoginStatus ID="LoginStatus1" BackColor="#ffffff" runat="server" />
                            <br>
                            <br>
                            <asp:HyperLink ID="HyperLink2" BackColor="#ffffff" runat="server" NavigateUrl="/">返回主页</asp:HyperLink>
                        </div>
                    </LoggedInTemplate>
                    <AnonymousTemplate>
                        <div>
                            <asp:Login ID="Login1" runat="server" CreateUserUrl="regist.aspx" RememberMeText="记住我。"
                                TitleText="" VisibleWhenLoggedIn="False" Width="250px"
                                DisplayRememberMe="False" DestinationPageUrl="~/admin/Default.aspx" 
                                CreateUserText="注册新用户" BackColor="White" Height="230px" CssClass="w-dlbox">
                                <LabelStyle Font-Size="16px" />
                                <LoginButtonStyle CssClass="w-dlbtn" />
                                <TextBoxStyle BackColor="White" BorderColor="#0099ff" BorderStyle="Solid"/>
                            </asp:Login>
                            <%--CreateUserText="新用户注册"--%>
                        </div>
                    </AnonymousTemplate>
                </asp:LoginView>
            </div>
        </div>
    </div>
    <!--介绍&登录end-->
    <%--<div style="height: 350px;">
        <asp:LoginView ID="LoginView1" runat="server">
            <RoleGroups>
                <asp:RoleGroup Roles="administrator">
                    <ContentTemplate>
                        <div style="padding: 20px; width: 50%; font-size: 16px; color: #0080CC; font-style: inherit;">
                            欢迎您：<asp:LoginName ID="LoginName1" runat="server" />
                            ，您已经成功登录，请选择操作：
                        </div>
                        <div style="width: 50%; font-size: 16px;">
                            <asp:LoginStatus ID="LoginStatus1" runat="server" />
                            <br>
                            <br>
                            <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="./admin/default.aspx">进入管理后台</asp:HyperLink>
                            <br>
                            <br>
                            <asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl="/">返回主页</asp:HyperLink>
                        </div>
                    </ContentTemplate>
                </asp:RoleGroup>
            </RoleGroups>
            <LoggedInTemplate>
                <div style="padding: 20px; width: 50%; font-size: 16px; color: #0080CC; font-style: inherit;">
                    欢迎您：<asp:LoginName ID="LoginName1" runat="server" />
                    ，您已经成功登录，请选择操作：
                </div>
                <div style="width: 50%; font-size: 16px;">
                    <asp:LoginStatus ID="LoginStatus1" runat="server" />
                    <br>
                    <br>
                    <asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl="/">返回主页</asp:HyperLink>
                </div>
            </LoggedInTemplate>
            <AnonymousTemplate>
                <div style="width: 50%">
                    <asp:Login ID="Login1" runat="server" CreateUserUrl="regist.aspx" RememberMeText="记住我。"
                        Style="text-align: left" TitleText="" VisibleWhenLoggedIn="False" Width="250px"
                        DisplayRememberMe="False" DestinationPageUrl="~/admin/Default.aspx" 
                        CreateUserText="注册新用户" BackColor="White" Height="230px" CssClass="w-dlbox">
                    </asp:Login>
                    <%--CreateUserText="新用户注册"--%>
</asp:Content>
